package com.syni.mdd.yhd.common.all.listen.user;

import com.syni.mdd.yhd.common.all.entity.user.BmsUser;
import lombok.Data;
import org.springframework.context.ApplicationEvent;

/**
 * @className OrderListener
 * @description TOO
 * @Author cfx
 * @DATE 2019/8/8 15:46
 * @VERSION 1.0
 **/
@Data
public class UserRegisterEvent extends ApplicationEvent {
    private BmsUser bmsUser;
    private Integer roleId;

    public UserRegisterEvent(Object source, BmsUser bmsUser,Integer roleId) {
        super(source);
        this.bmsUser = bmsUser;
        this.roleId = roleId;
    }
}
